package com.lancoo.ccas52.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import java.io.Serializable;
import java.time.LocalDateTime;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.experimental.Accessors;

/**
 * <p>
 * 环节-开课变更申请-审核
 * </p>
 *
 * @author quin.song
 * @since 2023-01-05
 */
@Data
@Accessors(chain = true)
@TableName("segment_apply")
@ApiModel(value = "SegmentApply对象", description = "环节-开课变更申请-审核")
public class SegmentApply implements Serializable {

    private static final long serialVersionUID = 1L;

    @TableId(value = "segment_apply_id", type = IdType.AUTO)
    private Integer segmentApplyId;

    private Long segmentId;

    private Integer taskId;

    @ApiModelProperty("周数")
    private Integer weekNum;

    @ApiModelProperty("课程备注")
    private String description;

    @ApiModelProperty("审核意见")
    private String reviewComment;

    @ApiModelProperty("申请状态 1正常开课 2变更审核中 3已通过 4已驳回")
    private Integer applyStatus;

    @ApiModelProperty("操作类型 1增开 2修改 3删除 4撤回")
    private Integer operationType;

    @ApiModelProperty("创建人id")
    private String createdUserId;

    private String createdUserName;

    private LocalDateTime createdTime;

    private LocalDateTime modifiedTime;
}
